projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb053ae
)
diff: Use gs_unref_object not gs_free on a GFile
author
Giuseppe Scrivano
<gscrivan@redhat.com>
Thu, 30 Oct 2014 10:05:47 +0000
(11:05 +0100)
committer
Colin Walters
<walters@verbum.org>
Thu, 30 Oct 2014 16:17:32 +0000
(12:17 -0400)
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
src/ostree/ot-builtin-diff.c
patch
|
blob
|
history
diff --git
a/src/ostree/ot-builtin-diff.c
b/src/ostree/ot-builtin-diff.c
index 00de8cbbda04d97577c4a88b3d7f9e2a75d3a586..65d55be2564fd7a868267ba57fe52e29ac06b5e1 100644
(file)
--- a/
src/ostree/ot-builtin-diff.c
+++ b/
src/ostree/ot-builtin-diff.c
@@
-43,7
+43,7
@@
parse_file_or_commit (OstreeRepo *repo,
GError **error)
{
gboolean ret = FALSE;
- gs_
free
GFile *ret_file = NULL;
+ gs_
unref_object
GFile *ret_file = NULL;
if (g_str_has_prefix (arg, "/")
|| g_str_has_prefix (arg, "./")